package homework;

import org.junit.Test;

public class ArraysumTest {
 @Test
  public void  test01() {
     int[] arr = {25, 26, 27, 28, 29};
     int sum = arraysum(arr);
     System.out.println(sum);
 }
 int arraysum(int[] arr){
     int sum=0;
     for(int i=0;i<arr.length;i++){
         sum+=arr[i];
     }
     return sum;
 }


 }